package com.dony;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动程序
 * 
 * @author dony
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableTransactionManagement
public class DonyApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(DonyApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  仓储系统启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "     _   _  _____     _____ ____ _____  _\n" +
                "    | \\ | |/ _ \\ \\   / /_ _/ ___|_   _|/ \\\n" +
                "    |  \\| | | | \\ \\ / / | | |     | | / _ \\\n" +
                "    | |\\  | |_| |\\ V /  | | |___  | |/ ___ \\\n" +
                "    |_| \\_|\\___/  \\_/  |___\\____| |_/_/   \\_\\\n" +
                " ");
    }
}
